package com.atguigu.gulimall.seckill.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient("gulimall-coupon")
@Service
public interface CouponFeignService {

    /**
     * 查询：最近3天的秒杀活动及秒杀商品
     */
    @GetMapping("/coupon/seckillsession/Lates3DaySession")
    public R getLates3DaySession();

}
